package com.sinog.biz.service.business.impl;

import com.sinog.biz.mapper.havexml.ChangeTableMapper;
import com.sinog.biz.service.business.ChangeTableService;
import com.sinog.core.domain.ChangeTable;
import org.springframework.stereotype.Service;
import javax.annotation.Resource;
import java.util.List;

/**
 * @desc 山西个性化需求:ChangTableServiceImpl
 * @author wangxj
 * @date 2022-11-15 11:09:32
 */
@Service
public class ChangeTableServiceImpl implements ChangeTableService {

    @Resource
    private ChangeTableMapper changeTableMapper;
    /**
     * 山西个性化需求:根据priNum查找changeTable表信息
     * @param priNum priNum
     * @param tableName tableName
     * @param fieldName fieldName
     * @return List<ChangeTable>
     */
    @Override
    public List<ChangeTable> searchChangeTable(String priNum,String tableName,String fieldName) {
        return changeTableMapper.searchChangePriNum(priNum,tableName,fieldName);
    }

    /**
     * 根据服刑人员编号查找changeTable信息
     * @param priNum priNum
     * @return List<String>
     */
    @Override
    public List<String> searchChangeTableByPriNum(String priNum) {
        return changeTableMapper.searchChangeTableByPriNum(priNum);
    }
}